package sg.edu.nus.iss.vmcs.customer;

import java.awt.Button;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class TerminateButtonListenser implements ActionListener {

	private TransactionController tCtrl;
	
	public TerminateButtonListenser(TransactionController tCtrl){
		this.tCtrl=tCtrl;
	}
	
	public void actionPerformed(ActionEvent e){
		this.tCtrl.cancelTransaction();
	}
}
